<el-dialog title="添加申请内容" v-model="addFormDialog">
<!-- <el-form :model="form"> -->
<el-form ref="addForm" :rules="addRules" :model="addForm" :label-width="dialogLabelWidth">
<el-tabs  type="card" >
    <el-tab-pane label="采购明细" name="first">
        <el-row>
        <el-col :span="12">
          <el-form-item label="申请事由" prop="reason">
            <el-input v-model="addForm.reason"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
         <el-col :span="12">
          <el-form-item prop="expected_date" label="期望交付日期">
              <el-date-picker  v-model="addForm.expected_date" placeholder="请选择日期"  >
              </el-date-picker>
          </el-form-item>
        </el-col>
      </el-row>
       <el-row>
        <el-col :span="12">
          <el-form-item label="名称" prop="name">
            <el-input v-model="addForm.name"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="规格" prop="specification">
            <el-input v-model="addForm.specification"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="型号" prop="model_num">
            <el-input v-model="addForm.model_num"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="颜色" prop="color">
            <el-input v-model="addForm.color"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
        <el-row>
        <el-col :span="12">
          <el-form-item label="数量" prop="number">
            <el-input v-model="addForm.number"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="单位" prop="unit">
            <el-input v-model="addForm.unit"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="单价(元)" prop="unit_price">
            <el-input v-model="addForm.unit_price"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="总金额(元)" prop="total_amount">
            <el-input v-model="addForm.total_amount"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="支付方式" prop="payment_method">
            <el-select v-model="addForm.payment_method">
              <el-option v-for="pay in paymentMethodType" :label="pay.name" :value="pay.id"></el-option>
            </el-select>
          </el-form-item>
        </el-col>
         <el-col :span="12">
          <el-form-item label="申请类别" prop="application_type">
            <el-select v-model="addForm.application_type">
              <el-option v-for="at in applicationTypeType" :label="at.name" :value="at.id"></el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
      <el-form-item label="备注" prop="remark">
          <el-input
          v-model="addForm.remark"
          type="textarea"
          :autosize="{ minRows: 2, maxRows: 4}"
          placeholder="请输入内容">
          </el-input>
      </el-form-item>

     </el-tab-pane>
  </el-tabs>
 
   
    
  </el-form>
  <div slot="footer" class="dialog-footer">
   <include file="Common:_add" />
  </div>
</el-dialog>